package shortcircuit.basics.block;



import java.awt.Color;

import java.awt.Graphics;

import java.awt.Graphics2D;

import java.awt.Point;



import shortcircuit.Display;

import shortcircuit.basics.*;



/**

 * Creates a block known as a <i>Horizontal Block</i>.  This block has west and east 

 * free walls and a cyan color.

 * 

 * @author Kevin Lewi

 */

public class Block2 extends Block

{

	public Block2()

	{

		super();

		theImage = Display.imageBlock[2];
		
		int[] theFreeWalls = {Wall.WEST, Wall.EAST};

		applyFreeWalls(theFreeWalls);

		_Walls[Wall.WEST].setLinkedDirection(Wall.EAST);

		_Walls[Wall.EAST].setLinkedDirection(Wall.WEST);

		

	}

	

	protected Color getBlockColor()

	{

		return Color.CYAN;

	}
}

